package ygw.study.advanced.serialize;



import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

/**
 * <p>Description: </p>
 * <p>Create Date: 14-2-8</p>
 * <p>Copyright  : Genersoft Java Group(c)</p>
 *
 * @version 1.0
 */

/* *************************************************************
 * Modifier  Date    Operate(AMD)   Description

 * ************************************************************/
public class PayappDao  {

    public static void main(String[] args) throws IOException {
        BatchPay batchPay=new BatchPay();
        FileOutputStream fos=new FileOutputStream("F://MyTest.txt");
        ObjectOutputStream objectOutputStream=new ObjectOutputStream(fos);
        objectOutputStream.writeObject(batchPay);
        objectOutputStream.close();
    }

}